package com.xiaotao.service;

import com.xiaotao.entity.User;
import com.xiaotao.util.ResponseUtil;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserService {
    ResponseUtil queryAll();
    ResponseUtil queryById(Integer id);
    ResponseUtil add(User user);
    ResponseUtil update(User user);
    ResponseUtil delete(Integer id);
    //注册
    ResponseUtil registered(User user);
    ResponseUtil login(User user);
}